Platform Explorer / Nuxeo Platform 2021.49

Contribution org.nuxeo.ecm.platform.forms.layouts.webapp.base--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.forms.layouts.webapp.base inside nuxeo-platform-webapp-base-2021.49.2.jar /OSGI-INF/layouts-contrib.xml

Extension Point

Extension point widgets of component LayoutStore.

Registration Order

5
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="displayObsoleteEntries" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Display obsolete entries</label>
          </labels>
          <fields>
            <field>displayObsoleteEntries</field>
          </fields>
        </widget>
  • <widget name="select2_directory_name" type="selectOneResource">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Directory Name</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Name of the directory
            </label>
          </helpLabels>
          <widgetModes>
            <mode value="edit_demo_preview">hidden</mode>
          </widgetModes>
          <fields>
            <field>directoryName</field>
          </fields>
          <properties widgetMode="any">
            <property name="required">true</property>
          </properties>
          <properties mode="any">
            <property name="resourceName">vocabularies</property>
            <property name="includel10nDirectories">true</property>
          </properties>
        </widget>
  • <widget name="select2_directory_fetch_mode" type="selectOneListbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Fetch Mode</label>
          </labels>
          <helpLabels>
            <label mode="any">
              This attribute controls the fetch mode for directory entries.
              Directory entries can either be fetched if they start with the
              search term or if thery contain the search term.
              Available since 5.9.2.
            </label>
          </helpLabels>
          <fields>
            <field>contains</field>
          </fields>
          <selectOptions>
            <option itemLabel="Starts with (default)" itemValue="false"/>
            <option itemLabel="Contains" itemValue="true"/>
          </selectOptions>
        </widget>
  • <widget name="select2_dbl10n" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Activate database localization</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Activate retrieval of localized labels in the
              vocabulary database, when translations are held by the directory
              itself, in fields with a label_[lang] pattern, and defaulting to
              label_en. Available since 6.0.
            </label>
          </helpLabels>
          <fields>
            <field>dbl10n</field>
          </fields>
        </widget>
  • <widget name="select2_canSelectParent" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Can select parent</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Check this option to allow selection of
              intermediate
              groups.
            </label>
          </helpLabels>
          <fields>
            <field>canSelectParent</field>
          </fields>
        </widget>
  • <widget name="select2_filterParent" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Filter parent</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Check this option to apply filter on
              intermediate
              groups.
            </label>
          </helpLabels>
          <fields>
            <field>filterParent</field>
          </fields>
        </widget>
  • <widget name="select2_dropdownOnArrow" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Dropdown on Arrow </label>
          </labels>
          <helpLabels>
            <label mode="any">
              Check this option to dropdown the suggestions only when clicking the arrow on
              the right of the single suggestion widget. By default the suggestions are
              dropped down wherever you click.
            </label>
          </helpLabels>
          <fields>
            <field>dropdownOnArrow</field>
          </fields>
        </widget>
  • <widget name="select2_separator" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Select2 separator</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Separator character or string used to delimit ids
              in value attribute of the multi-valued selects.
              The default delimiter is the , character.
            </label>
          </helpLabels>
          <widgetModes>
            <mode value="any">hidden</mode>
            <mode value="view_reference">view</mode>
          </widgetModes>
          <fields>
            <field>separator</field>
          </fields>
        </widget>
  • <widget name="select2_frequency" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Select2 frequency</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Delay (in milliseconds) before sending a request
              to the server after a character is typed.
              Default value is 300ms.
            </label>
          </helpLabels>
          <fields>
            <field>frequency</field>
          </fields>
        </widget>
  • <widget name="select2_closeOnSelect" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Select2 closeOnSelect</label>
          </labels>
          <helpLabels>
            <label mode="any">
             If set to false the dropdown is not closed after a selection is made,
             allowing for rapid selection of multiple items.
             By default this option is set to true.
            </label>
          </helpLabels>
          <fields>
            <field>closeOnSelect</field>
          </fields>
        </widget>
  • <widget name="select2_directory_labelFieldName" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Label field name</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Name of the Directory field that should be
              used to
              define the Label of entry.
              If not set 'label'
              will be
              used. In case of
              localization with a directory field for
              each supported language (see
              dbl10n option), by default
              fields with pattern like 'label_en',
              'label_fr' or
              'label_de' will
              be searched. You can customize looked up
              fields by
              specifying
              a pattern like
              'label_{lang}' where the part {lang}
              will be
              replaced with
              the current locale.
            </label>
          </helpLabels>
          <fields>
            <field>labelFieldName</field>
          </fields>
        </widget>
  • <widget name="userSuggestionSearchType" type="selectOneListbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Search type</label>
          </labels>
          <fields>
            <field>userSuggestionSearchType</field>
          </fields>
          <selectOptions>
            <option itemLabel="Users and Groups" itemValue=""/>
            <option itemLabel="Users" itemValue="USER_TYPE"/>
            <option itemLabel="Groups" itemValue="GROUP_TYPE"/>
          </selectOptions>
        </widget>
  • <widget name="userSuggestion_groupRestriction" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Group id restriction</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Enter the id of a group to suggest only user from this
              group.
            </label>
          </helpLabels>
          <fields>
            <field>groupRestriction</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_prefixed" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Use prefixed reference</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Check this box if you want the references prefixed
              with "user:" or "group:".
            </label>
          </helpLabels>
          <fields>
            <field>prefixed</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_firstLabelField" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">First label field</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Field to use as the first label when displaying the
              selected user. Defaults to 'firstName'.
            </label>
          </helpLabels>
          <fields>
            <field>firstLabelField</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_secondLabelField" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Second label field</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Field to use as the second label when displaying the
              selected user. Defaults to 'lastName'.
            </label>
          </helpLabels>
          <fields>
            <field>secondLabelField</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_thirdLabelField" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Third label field</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Field to use as the third label when displaying the
              selected user. Defaults to 'email'. Available since 5.5.
            </label>
          </helpLabels>
          <fields>
            <field>thirdLabelField</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_hideFirstLabel" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Hide first label</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Boolean indicating if the first label should be
              hidden. Defaults to false.
            </label>
          </helpLabels>
          <fields>
            <field>hideFirstLabel</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_hideSecondLabel" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Hide second label</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Boolean indicating if the second label should be
              hidden.Defaults to false.
            </label>
          </helpLabels>
          <fields>
            <field>hideSecondLabel</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_hideThirdLabel" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Hide third label</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Boolean indicating if the third label should be
              hidden. Defaults to false. Available since 5.5.
            </label>
          </helpLabels>
          <fields>
            <field>hideThirdLabel</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_displayAction" type="selectOneListbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Display action</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The display action to use when rendering the user or
              group. Can be 'nothing' to just display text only, 'view' to have a
              link going to the user or group view, or 'edit' to have a link going
              to the user or group edition. The 'edit' action assumes the widget is
              used in the Users and Groups management.
            </label>
          </helpLabels>
          <fields>
            <field>displayAction</field>
          </fields>
          <selectOptions>
            <option itemLabel="View" itemValue="view"/>
            <option itemLabel="Edit" itemValue="edit"/>
            <option itemLabel="Nothing" itemValue="nothing"/>
          </selectOptions>
        </widget>
  • <widget name="userSuggestion_displayEmailInSuggestion" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Display email for users</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Boolean indicating if the email should be displayed
              for users. Defaults to false. Available since 5.5.
            </label>
          </helpLabels>
          <fields>
            <field>displayEmailInSuggestion</field>
          </fields>
        </widget>
  • <widget name="userSuggestionMaxSearchResults" type="int">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Max search results</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Number of maximum search results in the suggestion
              (defaults to 0 that means no limit).
            </label>
          </helpLabels>
          <fields>
            <field>userSuggestionMaxSearchResults</field>
          </fields>
        </widget>
  • <widget name="suggestion_minChars" type="int">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Minimum characters</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The minimal number of characters to type for the
              suggestion to be active. Defaults to 3.
            </label>
          </helpLabels>
          <fields>
            <field>minChars</field>
          </fields>
        </widget>
  • <widget name="suggestion_resultLimit" type="int">
          <sinceVersion>8.2</sinceVersion>
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Limit returned results</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The maximal number of result returned by the suggestion.
              Defaults to unlimited.
            </label>
          </helpLabels>
          <fields>
            <field>limit</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_frequency" type="int">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Frequency</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Delay (in seconds) before activating the suggestion
              pop-up. Default value is 0.
            </label>
          </helpLabels>
    
          <fields>
            <field>frequency</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_requestDelay" type="int">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Request delay</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The requestDelay attribute specifies an amount of time
              in milliseconds for the request to wait in the queue before being sent
              to the server. If a similar request is added to the queue before the
              delay is over, the original request is removed from the queue and not
              sent.
            </label>
          </helpLabels>
          <fields>
            <field>requestDelay</field>
          </fields>
        </widget>
  • <widget name="suggestion_width" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Width</label>
          </labels>
          <helpLabels>
            <label mode="any">The suggestion width.</label>
          </helpLabels>
          <fields>
            <field>width</field>
          </fields>
        </widget>
  • <widget name="suggestion_helpLabel" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Help Label</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The help label is displayed below the
              widget.
            </label>
          </helpLabels>
          <fields>
            <field>helpLabel</field>
          </fields>
        </widget>
  • <widget name="select2_containerCssClass" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Container css class</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Css class of the Select2 selection container
            </label>
          </helpLabels>
          <fields>
            <field>containerCssClass</field>
          </fields>
        </widget>
  • <widget name="select2_dropdownCssClass" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Dropdown css class</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Css class of the Select2 dropdown suggestion
            </label>
          </helpLabels>
          <fields>
            <field>dropdownCssClass</field>
          </fields>
        </widget>
  • <widget name="select2_suggestionFormatter" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Suggestion Formatter</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Name of the JavaScript function that
              will be
              called by select2 to do the formatting of the
              suggestedentries.
              The
              target function should take as input
              the javascript Document as
              returned by Automation and should
              return some Html.
              Use the "Inline Javascript" property field to define your own
              formatter.
            </label>
          </helpLabels>
          <fields>
            <field>suggestionFormatter</field>
          </fields>
        </widget>
  • <widget name="select2_selectionFormatter" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Selection Formatter</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Name of the JavaScript function that
              will be
              called by the widget to do the formatting of the
              selected entries.
              The
              target function should take as input
              the javascript Document as
              returned by Automation and should
              return some Html.
              Use the "Inline Javascript" property field to define your own
              formatter.
            </label>
          </helpLabels>
          <fields>
            <field>selectionFormatter</field>
          </fields>
        </widget>
  • <widget name="select2_additionalParam" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Additional Operation Parameters</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Name of the JavaScript function that
              will be
              called by select2 to pass additional parameters to
              the automation operation. See https://doc.nuxeo.com/x/iQhvAQ.
            </label>
          </helpLabels>
          <fields>
            <field>additionalOperationParameters</field>
          </fields>
        </widget>
  • <widget name="select2_inlinejsDemoPreview" type="textarea">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Inline Javascript</label>
          </labels>
          <widgetModes>
            <mode value="any">hidden</mode>
            <mode value="edit_demo_preview">#{layout.mode}</mode>
          </widgetModes>
          <helpLabels>
            <label mode="any">
              Javascript to be injected in the page with
              the Widget.
              You can define here custom formatters
              referenced in "Selection
              Formatter" and
              "Suggestion Formatter" fields. Example:
              &lt;pre&gt;
              function myFormatter(entry) {
              var markup = entry.displayLabel;
              return markup;
              }
              &lt;/pre&gt; </label>
          </helpLabels>
          <fields>
            <field>inlinejs</field>
          </fields>
        </widget>
  • <widget name="select2_inlinejs" type="codearea">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Inline Javascript</label>
          </labels>
          <widgetModes>
            <mode value="edit_demo_preview">hidden</mode>
          </widgetModes>
          <helpLabels>
            <label mode="any">
              Javascript to be injected in the page with
              the Widget.
              You can define here custom formatters
              referenced in "Selection
              Formatter" and
              "Suggestion Formatter" fields. Example:
              &lt;pre&gt;
              function myFormatter(entry) {
              var markup = entry.displayLabel;
              return markup;
              }
              &lt;/pre&gt; </label>
          </helpLabels>
          <fields>
            <field>inlinejs</field>
          </fields>
          <properties mode="any">
            <property name="language">javascript</property>
          </properties>
        </widget>
  • <widget name="select2_directorySuggestion_canAddNewEntry" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Can add new entry</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Boolean stating if user should be able to add a new
              entry on the directory from this widget. Available since 5.9.1,
              defaults to "false".
            </label>
          </helpLabels>
          <fields>
            <field>canAddNewEntry</field>
          </fields>
        </widget>
  • <widget name="select2_directorySuggestion_addNewEntryFilter" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Filter for adding a new entry</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The action filter id used to check whether user should
              be presented the 'add new entry' action on the suggestion widget.
              The
              variable 'directoryName' is available in context for this filter
              evaluation. Available since 5.9.1, defaults to
              'canAddEntryFromSuggestDirectoryWidget'.
            </label>
          </helpLabels>
          <fields>
            <field>addNewEntryFilter</field>
          </fields>
        </widget>
  • <widget name="documentSuggestion_tab" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Tab</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The tab to select when clicking on the document link.
            </label>
          </helpLabels>
          <fields>
            <field>tab</field>
          </fields>
        </widget>
  • <widget name="documentSuggestion_subTab" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Sub Tab</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The sub tab to select when clicking on the document
              link.
            </label>
          </helpLabels>
          <fields>
            <field>subTab</field>
          </fields>
        </widget>
  • <widget name="documentSuggestion_pageProviderName" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Document page provider name</label>
          </labels>
          <helpLabels>
            <label mode="any">
              The page provider that will be called to perform a
              search for the suggestion. It must accept one parameter that will be
              replaced by the suggestion input. Since 5.7, additional parameters set
              on the page provider definition will also be taken into account (but
              the suggestion input will still be used as the first implicit
              parameter). If no name is defined, a default page provider is used.
            </label>
          </helpLabels>
          <fields>
            <field>pageProviderName</field>
          </fields>
        </widget>
  • <widget name="documentSuggestion_pageProviderPageSize" type="int">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Document page provider page size</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Page provider result's page size. Default value is 20.
            </label>
          </helpLabels>
          <fields>
            <field>pageSize</field>
          </fields>
        </widget>
  • <widget name="documentSuggestion_queryDemoPreview" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">NXQL Query</label>
          </labels>
          <widgetModes>
            <mode value="any">hidden</mode>
            <mode value="edit_demo_preview">#{layout.mode}</mode>
          </widgetModes>
          <helpLabels>
            <label mode="any">
              NXQL Query to fetch the suggestions. This property is
              ignored if a
              Page Provider name is given.
              The widget doesn't append a '%'
              wildcard to the parameter passed to query.
              &lt;p&gt;
              Example: select *
              from Document where dc:title LIKE '?%'
              &lt;/p&gt;
            </label>
          </helpLabels>
          <fields>
            <field>query</field>
          </fields>
        </widget>
  • <widget name="documentSuggestion_query" type="codearea">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">NXQL Query</label>
          </labels>
          <widgetModes>
            <mode value="edit_demo_preview">hidden</mode>
          </widgetModes>
          <helpLabels>
            <label mode="any">
              NXQL Query to fetch the suggestions. This property is
              ignored if a
              Page Provider name is given.
              The widget doesn't append a '%'
              wildcard to the parameter passed to query.
              &lt;p&gt;
              Example: select *
              from Document where dc:title LIKE '?%'
              &lt;/p&gt;
            </label>
          </helpLabels>
          <fields>
            <field>query</field>
          </fields>
          <properties mode="any">
            <property name="language">nxql</property>
          </properties>
        </widget>
  • <widget name="documentSuggestion_documentSchemas" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Document Schemas</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Document Schemas that should be fetched and
              sent to the
              JS client side. You can enter comma separated values.
              &lt;p&gt;
              Example: dublincore,common
              &lt;/p&gt; </label>
          </helpLabels>
          <fields>
            <field>documentSchemas</field>
          </fields>
        </widget>
  • <widget name="documentSuggestion_repository" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Target Repository</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Id of the Nuxeo repositry that should be
              accessed.
              If
              unsed, the default repository will be used.
            </label>
          </helpLabels>
          <fields>
            <field>repository</field>
          </fields>
        </widget>
  • <widget name="suggestion_orderable" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Orderable</label>
          </labels>
          <helpLabels>
            <label mode="any">
              This attribute controls the possibility to order the
              selected items. Available since 5.6.
            </label>
          </helpLabels>
          <fields>
            <field>orderable</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_hideSearchTypeText" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Hide Search Type Label</label>
          </labels>
          <helpLabels>
            <label mode="any">
              This attribute controls the possibility to hide the
              search type label. Available since 5.7.
            </label>
          </helpLabels>
          <fields>
            <field>hideSearchTypeText</field>
          </fields>
        </widget>
  • <widget name="userSuggestion_displaySuggestionOnTop" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Display Suggestion On Top</label>
          </labels>
          <helpLabels>
            <label mode="any">
              This attribute controls the possibility to display the
              suggestion
              box on top of the search results. Available since 5.7.
            </label>
          </helpLabels>
          <fields>
            <field>displaySuggestionOnTop</field>
          </fields>
        </widget>
  • <widget name="suggestion_hideHelpLabel" type="checkbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Hide Help Label</label>
          </labels>
          <helpLabels>
            <label mode="any">
              This attribute controls the possibility to hide the
              help label. Available since 5.7.
            </label>
          </helpLabels>
          <fields>
            <field>hideHelpLabel</field>
          </fields>
        </widget>
  • <widget name="ajaxReRender" type="text">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Ajax reRender</label>
          </labels>
          <helpLabels>
            <label mode="any">
              Ajax rerender ids, separated by commas.
            </label>
          </helpLabels>
          <fields>
            <field>ajaxReRender</field>
          </fields>
        </widget>
  • <widget name="actionsDisplay" type="selectOneListbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Actions Display</label>
          </labels>
          <helpLabels>
            <label mode="any">
              If set to 'buttons', actions will be displayed as
              command
              buttons. If set to 'links', actions will be displayed as
              command links. If set to 'icons', actions will be displayed
              as icons.
              Else (default behaviour), actions will be
              displayed as command links
              and display their icons when
              defined.
            </label>
          </helpLabels>
          <fields>
            <field>actionsDisplay</field>
          </fields>
          <selectOptions>
            <option itemLabel="Icons and links (default)" itemValue="icons_links"/>
            <option itemLabel="Icons" itemValue="icons"/>
            <option itemLabel="Buttons" itemValue="buttons"/>
            <option itemLabel="Links" itemValue="links"/>
          </selectOptions>
        </widget>
  • <widget name="formActionsDisplay" type="selectOneListbox">
          <categories>
            <category>widgetTypeConf</category>
          </categories>
          <labels>
            <label mode="any">Actions Display</label>
          </labels>
          <helpLabels>
            <label mode="any">
              If set to 'buttons', actions will be displayed as
              command
              buttons. If set to 'links', actions will be displayed as
              command links. If set to 'icons', actions will be displayed
              as icons.
              Else (default behaviour), actions will be
              displayed as command links
              and display their icons when
              defined.
            </label>
          </helpLabels>
          <fields>
            <field>actionsDisplay</field>
          </fields>
          <selectOptions>
            <option itemLabel="Buttons (default)" itemValue="buttons"/>
            <option itemLabel="Icons and links" itemValue="icons_links"/>
            <option itemLabel="Icons" itemValue="icons"/>
            <option itemLabel="Links" itemValue="links"/>
          </selectOptions>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.LayoutStore">

    <widget name="displayObsoleteEntries" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Display obsolete entries</label>
      </labels>
      <fields>
        <field>displayObsoleteEntries</field>
      </fields>
    </widget>

    <widget name="select2_directory_name" type="selectOneResource">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Directory Name</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Name of the directory
        </label>
      </helpLabels>
      <widgetModes>
        <mode value="edit_demo_preview">hidden</mode>
      </widgetModes>
      <fields>
        <field>directoryName</field>
      </fields>
      <properties widgetMode="any">
        <property name="required">true</property>
      </properties>
      <properties mode="any">
        <property name="resourceName">vocabularies</property>
        <property name="includel10nDirectories">true</property>
      </properties>
    </widget>

    <widget name="select2_directory_fetch_mode" type="selectOneListbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Fetch Mode</label>
      </labels>
      <helpLabels>
        <label mode="any">
          This attribute controls the fetch mode for directory entries.
          Directory entries can either be fetched if they start with the
          search term or if thery contain the search term.
          Available since 5.9.2.
        </label>
      </helpLabels>
      <fields>
        <field>contains</field>
      </fields>
      <selectOptions>
        <option itemLabel="Starts with (default)" itemValue="false"/>
        <option itemLabel="Contains" itemValue="true"/>
      </selectOptions>
    </widget>

    <widget name="select2_dbl10n" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Activate database localization</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Activate retrieval of localized labels in the
          vocabulary database, when translations are held by the directory
          itself, in fields with a label_[lang] pattern, and defaulting to
          label_en. Available since 6.0.
        </label>
      </helpLabels>
      <fields>
        <field>dbl10n</field>
      </fields>
    </widget>

    <widget name="select2_canSelectParent" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Can select parent</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Check this option to allow selection of
          intermediate
          groups.
        </label>
      </helpLabels>
      <fields>
        <field>canSelectParent</field>
      </fields>
    </widget>

    <widget name="select2_filterParent" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Filter parent</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Check this option to apply filter on
          intermediate
          groups.
        </label>
      </helpLabels>
      <fields>
        <field>filterParent</field>
      </fields>
    </widget>

    <widget name="select2_dropdownOnArrow" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Dropdown on Arrow </label>
      </labels>
      <helpLabels>
        <label mode="any">
          Check this option to dropdown the suggestions only when clicking the arrow on
          the right of the single suggestion widget. By default the suggestions are
          dropped down wherever you click.
        </label>
      </helpLabels>
      <fields>
        <field>dropdownOnArrow</field>
      </fields>
    </widget>

    <widget name="select2_separator" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Select2 separator</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Separator character or string used to delimit ids
          in value attribute of the multi-valued selects.
          The default delimiter is the , character.
        </label>
      </helpLabels>
      <widgetModes>
        <mode value="any">hidden</mode>
        <mode value="view_reference">view</mode>
      </widgetModes>
      <fields>
        <field>separator</field>
      </fields>
    </widget>

    <widget name="select2_frequency" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Select2 frequency</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Delay (in milliseconds) before sending a request
          to the server after a character is typed.
          Default value is 300ms.
        </label>
      </helpLabels>
      <fields>
        <field>frequency</field>
      </fields>
    </widget>

    <widget name="select2_closeOnSelect" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Select2 closeOnSelect</label>
      </labels>
      <helpLabels>
        <label mode="any">
         If set to false the dropdown is not closed after a selection is made,
         allowing for rapid selection of multiple items.
         By default this option is set to true.
        </label>
      </helpLabels>
      <fields>
        <field>closeOnSelect</field>
      </fields>
    </widget>

    <widget name="select2_directory_labelFieldName" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Label field name</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Name of the Directory field that should be
          used to
          define the Label of entry.
          If not set 'label'
          will be
          used. In case of
          localization with a directory field for
          each supported language (see
          dbl10n option), by default
          fields with pattern like 'label_en',
          'label_fr' or
          'label_de' will
          be searched. You can customize looked up
          fields by
          specifying
          a pattern like
          'label_{lang}' where the part {lang}
          will be
          replaced with
          the current locale.
        </label>
      </helpLabels>
      <fields>
        <field>labelFieldName</field>
      </fields>
    </widget>

    <widget name="userSuggestionSearchType" type="selectOneListbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Search type</label>
      </labels>
      <fields>
        <field>userSuggestionSearchType</field>
      </fields>
      <selectOptions>
        <option itemLabel="Users and Groups" itemValue=""/>
        <option itemLabel="Users" itemValue="USER_TYPE"/>
        <option itemLabel="Groups" itemValue="GROUP_TYPE"/>
      </selectOptions>
    </widget>

    <widget name="userSuggestion_groupRestriction" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Group id restriction</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Enter the id of a group to suggest only user from this
          group.
        </label>
      </helpLabels>
      <fields>
        <field>groupRestriction</field>
      </fields>
    </widget>

    <widget name="userSuggestion_prefixed" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Use prefixed reference</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Check this box if you want the references prefixed
          with "user:" or "group:".
        </label>
      </helpLabels>
      <fields>
        <field>prefixed</field>
      </fields>
    </widget>

    <widget name="userSuggestion_firstLabelField" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">First label field</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Field to use as the first label when displaying the
          selected user. Defaults to 'firstName'.
        </label>
      </helpLabels>
      <fields>
        <field>firstLabelField</field>
      </fields>
    </widget>

    <widget name="userSuggestion_secondLabelField" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Second label field</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Field to use as the second label when displaying the
          selected user. Defaults to 'lastName'.
        </label>
      </helpLabels>
      <fields>
        <field>secondLabelField</field>
      </fields>
    </widget>

    <widget name="userSuggestion_thirdLabelField" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Third label field</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Field to use as the third label when displaying the
          selected user. Defaults to 'email'. Available since 5.5.
        </label>
      </helpLabels>
      <fields>
        <field>thirdLabelField</field>
      </fields>
    </widget>

    <widget name="userSuggestion_hideFirstLabel" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Hide first label</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Boolean indicating if the first label should be
          hidden. Defaults to false.
        </label>
      </helpLabels>
      <fields>
        <field>hideFirstLabel</field>
      </fields>
    </widget>

    <widget name="userSuggestion_hideSecondLabel" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Hide second label</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Boolean indicating if the second label should be
          hidden.Defaults to false.
        </label>
      </helpLabels>
      <fields>
        <field>hideSecondLabel</field>
      </fields>
    </widget>

    <widget name="userSuggestion_hideThirdLabel" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Hide third label</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Boolean indicating if the third label should be
          hidden. Defaults to false. Available since 5.5.
        </label>
      </helpLabels>
      <fields>
        <field>hideThirdLabel</field>
      </fields>
    </widget>

    <widget name="userSuggestion_displayAction" type="selectOneListbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Display action</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The display action to use when rendering the user or
          group. Can be 'nothing' to just display text only, 'view' to have a
          link going to the user or group view, or 'edit' to have a link going
          to the user or group edition. The 'edit' action assumes the widget is
          used in the Users and Groups management.
        </label>
      </helpLabels>
      <fields>
        <field>displayAction</field>
      </fields>
      <selectOptions>
        <option itemLabel="View" itemValue="view"/>
        <option itemLabel="Edit" itemValue="edit"/>
        <option itemLabel="Nothing" itemValue="nothing"/>
      </selectOptions>
    </widget>

    <widget name="userSuggestion_displayEmailInSuggestion" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Display email for users</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Boolean indicating if the email should be displayed
          for users. Defaults to false. Available since 5.5.
        </label>
      </helpLabels>
      <fields>
        <field>displayEmailInSuggestion</field>
      </fields>
    </widget>

    <widget name="userSuggestionMaxSearchResults" type="int">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Max search results</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Number of maximum search results in the suggestion
          (defaults to 0 that means no limit).
        </label>
      </helpLabels>
      <fields>
        <field>userSuggestionMaxSearchResults</field>
      </fields>
    </widget>

    <widget name="suggestion_minChars" type="int">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Minimum characters</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The minimal number of characters to type for the
          suggestion to be active. Defaults to 3.
        </label>
      </helpLabels>
      <fields>
        <field>minChars</field>
      </fields>
    </widget>

    <widget name="suggestion_resultLimit" type="int">
      <sinceVersion>8.2</sinceVersion>
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Limit returned results</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The maximal number of result returned by the suggestion.
          Defaults to unlimited.
        </label>
      </helpLabels>
      <fields>
        <field>limit</field>
      </fields>
    </widget>

    <widget name="userSuggestion_frequency" type="int">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Frequency</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Delay (in seconds) before activating the suggestion
          pop-up. Default value is 0.
        </label>
      </helpLabels>

      <fields>
        <field>frequency</field>
      </fields>
    </widget>

    <widget name="userSuggestion_requestDelay" type="int">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Request delay</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The requestDelay attribute specifies an amount of time
          in milliseconds for the request to wait in the queue before being sent
          to the server. If a similar request is added to the queue before the
          delay is over, the original request is removed from the queue and not
          sent.
        </label>
      </helpLabels>
      <fields>
        <field>requestDelay</field>
      </fields>
    </widget>

    <widget name="suggestion_width" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Width</label>
      </labels>
      <helpLabels>
        <label mode="any">The suggestion width.</label>
      </helpLabels>
      <fields>
        <field>width</field>
      </fields>
    </widget>

    <widget name="suggestion_helpLabel" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Help Label</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The help label is displayed below the
          widget.
        </label>
      </helpLabels>
      <fields>
        <field>helpLabel</field>
      </fields>
    </widget>

    <widget name="select2_containerCssClass" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Container css class</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Css class of the Select2 selection container
        </label>
      </helpLabels>
      <fields>
        <field>containerCssClass</field>
      </fields>
    </widget>

    <widget name="select2_dropdownCssClass" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Dropdown css class</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Css class of the Select2 dropdown suggestion
        </label>
      </helpLabels>
      <fields>
        <field>dropdownCssClass</field>
      </fields>
    </widget>

    <widget name="select2_suggestionFormatter" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Suggestion Formatter</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Name of the JavaScript function that
          will be
          called by select2 to do the formatting of the
          suggestedentries.
          The
          target function should take as input
          the javascript Document as
          returned by Automation and should
          return some Html.
          Use the "Inline Javascript" property field to define your own
          formatter.
        </label>
      </helpLabels>
      <fields>
        <field>suggestionFormatter</field>
      </fields>
    </widget>

    <widget name="select2_selectionFormatter" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Selection Formatter</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Name of the JavaScript function that
          will be
          called by the widget to do the formatting of the
          selected entries.
          The
          target function should take as input
          the javascript Document as
          returned by Automation and should
          return some Html.
          Use the "Inline Javascript" property field to define your own
          formatter.
        </label>
      </helpLabels>
      <fields>
        <field>selectionFormatter</field>
      </fields>
    </widget>

    <widget name="select2_additionalParam" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Additional Operation Parameters</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Name of the JavaScript function that
          will be
          called by select2 to pass additional parameters to
          the automation operation. See https://doc.nuxeo.com/x/iQhvAQ.
        </label>
      </helpLabels>
      <fields>
        <field>additionalOperationParameters</field>
      </fields>
    </widget>

    <widget name="select2_inlinejsDemoPreview" type="textarea">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Inline Javascript</label>
      </labels>
      <widgetModes>
        <mode value="any">hidden</mode>
        <mode value="edit_demo_preview">#{layout.mode}</mode>
      </widgetModes>
      <helpLabels>
        <label mode="any">
          Javascript to be injected in the page with
          the Widget.
          You can define here custom formatters
          referenced in "Selection
          Formatter" and
          "Suggestion Formatter" fields. Example:
          &lt;pre&gt;
          function myFormatter(entry) {
          var markup = entry.displayLabel;
          return markup;
          }
          &lt;/pre&gt; </label>
      </helpLabels>
      <fields>
        <field>inlinejs</field>
      </fields>
    </widget>

    <widget name="select2_inlinejs" type="codearea">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Inline Javascript</label>
      </labels>
      <widgetModes>
        <mode value="edit_demo_preview">hidden</mode>
      </widgetModes>
      <helpLabels>
        <label mode="any">
          Javascript to be injected in the page with
          the Widget.
          You can define here custom formatters
          referenced in "Selection
          Formatter" and
          "Suggestion Formatter" fields. Example:
          &lt;pre&gt;
          function myFormatter(entry) {
          var markup = entry.displayLabel;
          return markup;
          }
          &lt;/pre&gt; </label>
      </helpLabels>
      <fields>
        <field>inlinejs</field>
      </fields>
      <properties mode="any">
        <property name="language">javascript</property>
      </properties>
    </widget>

    <widget name="select2_directorySuggestion_canAddNewEntry" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Can add new entry</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Boolean stating if user should be able to add a new
          entry on the directory from this widget. Available since 5.9.1,
          defaults to "false".
        </label>
      </helpLabels>
      <fields>
        <field>canAddNewEntry</field>
      </fields>
    </widget>

    <widget name="select2_directorySuggestion_addNewEntryFilter" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Filter for adding a new entry</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The action filter id used to check whether user should
          be presented the 'add new entry' action on the suggestion widget.
          The
          variable 'directoryName' is available in context for this filter
          evaluation. Available since 5.9.1, defaults to
          'canAddEntryFromSuggestDirectoryWidget'.
        </label>
      </helpLabels>
      <fields>
        <field>addNewEntryFilter</field>
      </fields>
    </widget>

    <widget name="documentSuggestion_tab" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Tab</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The tab to select when clicking on the document link.
        </label>
      </helpLabels>
      <fields>
        <field>tab</field>
      </fields>
    </widget>

    <widget name="documentSuggestion_subTab" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Sub Tab</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The sub tab to select when clicking on the document
          link.
        </label>
      </helpLabels>
      <fields>
        <field>subTab</field>
      </fields>
    </widget>

    <widget name="documentSuggestion_pageProviderName" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Document page provider name</label>
      </labels>
      <helpLabels>
        <label mode="any">
          The page provider that will be called to perform a
          search for the suggestion. It must accept one parameter that will be
          replaced by the suggestion input. Since 5.7, additional parameters set
          on the page provider definition will also be taken into account (but
          the suggestion input will still be used as the first implicit
          parameter). If no name is defined, a default page provider is used.
        </label>
      </helpLabels>
      <fields>
        <field>pageProviderName</field>
      </fields>
    </widget>

    <widget name="documentSuggestion_pageProviderPageSize" type="int">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Document page provider page size</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Page provider result's page size. Default value is 20.
        </label>
      </helpLabels>
      <fields>
        <field>pageSize</field>
      </fields>
    </widget>

    <widget name="documentSuggestion_queryDemoPreview" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">NXQL Query</label>
      </labels>
      <widgetModes>
        <mode value="any">hidden</mode>
        <mode value="edit_demo_preview">#{layout.mode}</mode>
      </widgetModes>
      <helpLabels>
        <label mode="any">
          NXQL Query to fetch the suggestions. This property is
          ignored if a
          Page Provider name is given.
          The widget doesn't append a '%'
          wildcard to the parameter passed to query.
          &lt;p&gt;
          Example: select *
          from Document where dc:title LIKE '?%'
          &lt;/p&gt;
        </label>
      </helpLabels>
      <fields>
        <field>query</field>
      </fields>
    </widget>

    <widget name="documentSuggestion_query" type="codearea">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">NXQL Query</label>
      </labels>
      <widgetModes>
        <mode value="edit_demo_preview">hidden</mode>
      </widgetModes>
      <helpLabels>
        <label mode="any">
          NXQL Query to fetch the suggestions. This property is
          ignored if a
          Page Provider name is given.
          The widget doesn't append a '%'
          wildcard to the parameter passed to query.
          &lt;p&gt;
          Example: select *
          from Document where dc:title LIKE '?%'
          &lt;/p&gt;
        </label>
      </helpLabels>
      <fields>
        <field>query</field>
      </fields>
      <properties mode="any">
        <property name="language">nxql</property>
      </properties>
    </widget>

    <widget name="documentSuggestion_documentSchemas" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Document Schemas</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Document Schemas that should be fetched and
          sent to the
          JS client side. You can enter comma separated values.
          &lt;p&gt;
          Example: dublincore,common
          &lt;/p&gt; </label>
      </helpLabels>
      <fields>
        <field>documentSchemas</field>
      </fields>
    </widget>

    <widget name="documentSuggestion_repository" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Target Repository</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Id of the Nuxeo repositry that should be
          accessed.
          If
          unsed, the default repository will be used.
        </label>
      </helpLabels>
      <fields>
        <field>repository</field>
      </fields>
    </widget>

    <widget name="suggestion_orderable" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Orderable</label>
      </labels>
      <helpLabels>
        <label mode="any">
          This attribute controls the possibility to order the
          selected items. Available since 5.6.
        </label>
      </helpLabels>
      <fields>
        <field>orderable</field>
      </fields>
    </widget>

    <widget name="userSuggestion_hideSearchTypeText" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Hide Search Type Label</label>
      </labels>
      <helpLabels>
        <label mode="any">
          This attribute controls the possibility to hide the
          search type label. Available since 5.7.
        </label>
      </helpLabels>
      <fields>
        <field>hideSearchTypeText</field>
      </fields>
    </widget>

    <widget name="userSuggestion_displaySuggestionOnTop" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Display Suggestion On Top</label>
      </labels>
      <helpLabels>
        <label mode="any">
          This attribute controls the possibility to display the
          suggestion
          box on top of the search results. Available since 5.7.
        </label>
      </helpLabels>
      <fields>
        <field>displaySuggestionOnTop</field>
      </fields>
    </widget>

    <widget name="suggestion_hideHelpLabel" type="checkbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Hide Help Label</label>
      </labels>
      <helpLabels>
        <label mode="any">
          This attribute controls the possibility to hide the
          help label. Available since 5.7.
        </label>
      </helpLabels>
      <fields>
        <field>hideHelpLabel</field>
      </fields>
    </widget>

    <widget name="ajaxReRender" type="text">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Ajax reRender</label>
      </labels>
      <helpLabels>
        <label mode="any">
          Ajax rerender ids, separated by commas.
        </label>
      </helpLabels>
      <fields>
        <field>ajaxReRender</field>
      </fields>
    </widget>

    <widget name="actionsDisplay" type="selectOneListbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Actions Display</label>
      </labels>
      <helpLabels>
        <label mode="any">
          If set to 'buttons', actions will be displayed as
          command
          buttons. If set to 'links', actions will be displayed as
          command links. If set to 'icons', actions will be displayed
          as icons.
          Else (default behaviour), actions will be
          displayed as command links
          and display their icons when
          defined.
        </label>
      </helpLabels>
      <fields>
        <field>actionsDisplay</field>
      </fields>
      <selectOptions>
        <option itemLabel="Icons and links (default)" itemValue="icons_links"/>
        <option itemLabel="Icons" itemValue="icons"/>
        <option itemLabel="Buttons" itemValue="buttons"/>
        <option itemLabel="Links" itemValue="links"/>
      </selectOptions>
    </widget>

    <widget name="formActionsDisplay" type="selectOneListbox">
      <categories>
        <category>widgetTypeConf</category>
      </categories>
      <labels>
        <label mode="any">Actions Display</label>
      </labels>
      <helpLabels>
        <label mode="any">
          If set to 'buttons', actions will be displayed as
          command
          buttons. If set to 'links', actions will be displayed as
          command links. If set to 'icons', actions will be displayed
          as icons.
          Else (default behaviour), actions will be
          displayed as command links
          and display their icons when
          defined.
        </label>
      </helpLabels>
      <fields>
        <field>actionsDisplay</field>
      </fields>
      <selectOptions>
        <option itemLabel="Buttons (default)" itemValue="buttons"/>
        <option itemLabel="Icons and links" itemValue="icons_links"/>
        <option itemLabel="Icons" itemValue="icons"/>
        <option itemLabel="Links" itemValue="links"/>
      </selectOptions>
    </widget>

  </extension>